package com.arpa.ntocc.common.mapper;

import com.arpa.ntocc.common.domain.dto.PartyBalanceStatisticsDTO;
import com.arpa.ntocc.common.domain.dto.PartyDTO;
import com.arpa.ntocc.common.domain.entity.Party;
import com.arpa.ntocc.common.domain.vo.PartyBalanceStatisticsVo;
import com.arpa.ntocc.common.domain.vo.PartyVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 用户 Mapper 接口
 * </p>
 *
 * @author liuyj
 * @since 2019-11-25
 */
public interface PartyMapper extends BaseMapper<Party> {

    /**
     * 查询列表
     * @param partyDTO
     * @return
     */
    List<PartyVO> queryList(PartyDTO partyDTO);

    /**
     * 查询合计,包含总数
     * @param partyDTO
     * @return
     */
    PartyVO queryListSum(PartyDTO partyDTO);

    /**
     * 用户余额统计列表查询
     * @param partyBalanceStatisticsDTO
     * @Date 2019/12/31 16:57
     * @Author wangkf
     * @return com.arpa.ntocc.common.domain.vo.PartyBalanceStatisticsVo
    */
    PartyBalanceStatisticsVo partyBalanceStatisticsPageListSum(PartyBalanceStatisticsDTO partyBalanceStatisticsDTO);
    /**
     * 用户余额统计查询总数
     * @param partyBalanceStatisticsDTO
     * @Date 2019/12/31 16:57
     * @Author wangkf
     * @return java.util.List<com.arpa.ntocc.common.domain.vo.PartyBalanceStatisticsVo>
    */
    List<PartyBalanceStatisticsVo> partyBalanceStatisticsPageList(PartyBalanceStatisticsDTO partyBalanceStatisticsDTO);

    /**
     * 查询所有没有登录账号的员工列表
     * @param partyDTO
     * @return
     */
    List<PartyVO> findNotHaveUserLoginStaffs(PartyDTO partyDTO);


}
